package com.wcs.exam.controller.admin.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 数据统计
 */
@Data
@Accessors(chain = true)
@Schema(description = "数据统计")
public class AdminDashboardStatDataResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "今天订单数")
    private Integer todayOrder = 0;

    @Schema(description = "今天收入")
    private BigDecimal todayMoney = BigDecimal.ZERO;

    @Schema(description = "昨天订单数")
    private Integer yesterdayOrder = 0;

    @Schema(description = "昨天收入")
    private BigDecimal yesterdayMoney = BigDecimal.ZERO;

    @Schema(description = "用户总数")
    private Long userSum = 0L;

    @Schema(description = "考试总数")
    private Long examSum = 0L;

    @Schema(description = "试卷总数")
    private Long paperSum = 0L;

    @Schema(description = "题目总数")
    private Long questionSum = 0L;

    @Schema(description = "订单总数")
    private Long orderSum = 0L;

    @Schema(description = "总收入")
    private BigDecimal orderMoney = BigDecimal.ZERO;

    @Schema(description = "在线用户数")
    private Long onlineUser = 0L;

    @Schema(description = "在线考试用户数")
    private Long onlineUserExam = 0L;

}
